package com.ruoyi.web.controller.applet;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.ruoyi.applet.domain.MiniApp;
import com.ruoyi.applet.service.IMiniAppService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.utils.sign.Base64;
import com.github.kevinsawicki.http.HttpRequest;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import javax.servlet.http.HttpServletRequest;
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.security.spec.AlgorithmParameterSpec;
import java.util.HashMap;
import java.util.Map;


@RestController
@RequestMapping("/aaa")
public class DownloadPicture {

    @Resource
    private IMiniAppService miniAppService;

    public static void main(String[] args) {
        String[] brands = {"http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2306/14/c32/365593848_1686713990239.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2112/02/c6/286091239_1638417449622.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2307/13/c6/370865273_1689218825661.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2208/15/c10/328905653_1660534633163.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2207/21/c9/324964851_1658369484542.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/60.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1804/16/c1/83049116_1523843174760_200x200.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/693.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7230.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2206/29/c4/321363494_1656475688153.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7261.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2210/12/c27/337499195_1665567592077.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1911/13/c13/178396460_1573618795329.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7452.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2301/01/c17/346742165_1672540397307.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2003/15/c2/197353550_1584256633524.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2301/06/c16/347137217_1672975303463.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2201/12/c19/291821821_1641994642115.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2107/12/c2/271160321_1626059188922.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2205/24/c8/314370581_1653372432735.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2305/17/c17/363372088_1684314306080.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2206/01/c27/315868390_1654095547382.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2310/27/c0/388886258_1698370804235.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2302/28/c42/352187075_1677571081656.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2305/09/c19/362927831_1683629492631.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2307/27/c59/373169054_1690446243226.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2306/14/c34/365609296_1686725832812.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1810/22/c20/115488999_1540191378560_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2106/02/c2/266932743_1622615617168.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2206/29/c1/321334491_1656467073775.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2007/06/c13/218684189_1594024069072.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2201/11/c3/291565745_1641873054271.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/63.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/898.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1126.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/643.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c1/256318414_1615254889473.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2106/12/c7/268043486_1623496744646.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7190.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2002/11/c1/192190792_1581399031104.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2109/16/c0/277817130_1631755306148.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2310/17/c0/387231442_1697507359255.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1903/06/c9/136075032_1551837147402_200x200.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7311.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7481.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c1/256321867_1615256570578.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1909/02/c26/167291245_1567414888223.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1911/20/c1/179662819_1574214286334.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c1/256323340_1615256926022.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2201/23/c18/293731273_1642931457208.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2210/30/c42/339733558_1667139321455.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1806/04/c5/90567806_1528081178207_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2009/30/c22/233251228_1601435410430.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2306/27/c21/367052641_1687839075302.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2012/28/c62/247555333_1609145491659.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2306/14/c35/365608780_1686726500323.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2209/08/c74/332769994_1662627365858.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/990.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1809/18/c3/110045500_1537239423859_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2105/01/c0/263310363_1619832171044.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2303/30/c26/356688769_1680150318591.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2111/16/c13/284308168_1637054569956.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7321.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2207/14/c38/323897502_1657779783046.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1803/06/c30/77110894_1520324476312_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2002/18/c0/193292702_1581993688673.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1809/11/c29/108725764_1536638963117_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1807/09/c1/96448151_1531100630673_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2306/14/c32/365604548_1686723744756.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2106/08/c5/267538633_1623125180148.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2010/12/c37/234958402_1602493704685.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1912/20/c2/185124869_1576814325420.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1139.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1811/20/c19/120128590_1542680055282_200x200.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/72.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/16.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2105/16/c2/265080249_1621166674247.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c2/256327805_1615258425234.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2312/14/c18/397042824_1702525323079.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/877.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2009/17/c29/230985318_1600330583244.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2212/27/c23/346389191_1672121796148.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2108/18/c11/274988978_1629287998154.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1811/09/c7/118387976_1541731154669_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1809/17/c26/109938716_1537177146456_200x200.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7391.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/235.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7401.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2209/20/c54/334398363_1663654614697.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1805/10/c0/86453925_1525914353751_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2010/09/c12/234439241_1602211744736.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2204/14/c19/307225913_1649908877202.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1190.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1911/26/c44/181381922_1574749628956.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2109/09/c78/277205935_1631196240582.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2205/24/c33/314387142_1653376868507.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2205/24/c36/314393656_1653379022793.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2112/23/c55/288305147_1640246519845.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1905/31/c18/150529624_1559273850169.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2307/17/c3/371296837_1689559390746.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/18.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2203/02/c21/300062998_1646212083151.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/116.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/794.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1170.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c6/256335991_1615260771475.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2111/16/c13/284306113_1637053622411.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/834.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2108/23/c26/275432748_1629706456688.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1908/01/c8/162211552_1564623137113.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c6/256337102_1615261130851.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c6/256337801_1615261478421.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2308/02/c35/374146736_1690958492537.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/195.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7351.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1904/16/c107/142675230_1555413240200.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/567.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1903/21/c4/138492535_1553141189370.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2212/14/c26/345113656_1671013091575.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1903/05/c11/135948276_1551766734998_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2201/28/c0/294612434_1643333602846.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1904/17/c23/142797686_1555471844251.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c2/256328652_1615258644031.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2208/27/c64/330860514_1661583018529.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/8.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/583.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2307/10/c0/370526133_1688955237835.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/82.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/115.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/133.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/59.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2108/20/c18/275172370_1629454768635.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2008/03/c7/223796034_1596436459448.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1180.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/81.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/876.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2210/13/c31/337640114_1665655498974.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1149.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7291.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2201/19/c0/292867516_1642557231971.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2111/03/c1/282692640_1635903497058.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1001.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2106/02/c12/266970857_1622636875604.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c6/256338271_1615261902078.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1806/25/c11/94383456_1529907156463_200x200.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7411.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7331.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2003/04/c2/195452511_1583288285504.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2304/24/c32/361848241_1682307639830.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2003/18/c4/197870932_1584512754062.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1804/27/c45/84828715_1524822986992_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c0/256316656_1615254081973.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2210/21/c23/338556783_1666318484709.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c0/256311831_1615252553176.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2211/29/c18/343394132_1669691291151.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2207/29/c36/326365755_1659078334282.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2403/14/c6/411503252_1710381596067.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2108/12/c18/274319112_1628740223758.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2308/02/c39/374151579_1690959532767.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2302/23/c69/351519856_1677163831546.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2311/29/c0/394472817_1701223480099.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/15/c7/257151165_1615774417744.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/83.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1804/03/c9/80681623_1522725914815_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2104/21/c26/262092728_1618996402193.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2305/10/c26/362960514_1683689060014.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c0/256315435_1615253696045.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2308/11/c3/375742881_1691747202508.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2304/17/c32/359413257_1681712784831.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2201/19/c1/292879707_1642561040699.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2211/15/c54/341797342_1668509316674.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1806/12/c7/92564602_1528770723749_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2311/30/c1/394640393_1701309558177.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2308/09/c18/375412343_1691584227082.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/568.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/114.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7322.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2205/27/c13/314976327_1653639816035.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2302/09/c18/349874014_1675912118767.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1902/13/c5/132108121_1550031242384_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2401/26/c3/404096417_1706241390239.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7362.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2206/24/c35/320541157_1656054477492.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/578.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2207/21/c15/324968114_1658370474080.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/39.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/570.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1012.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2203/18/c5/302745171_1647584838161.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/704.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2111/22/c4/284960617_1637552063558.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/991.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2111/22/c4/284961790_1637553265316.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2001/16/c15/189115217_1579145916254.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/888.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1903/20/c14/138321830_1553053526228.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1075.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2304/17/c22/359297024_1681703034768.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2108/23/c24/275427984_1629703661286.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2307/27/c48/373157813_1690440828869.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2108/23/c26/275429281_1629704746282.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2209/30/c51/335960494_1664529520935.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2307/26/c17/372970346_1690363612978.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2205/24/c6/314346697_1653363165422.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2108/23/c26/275428581_1629704096979.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2105/27/c20/266327058_1622117999122.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2007/29/c92/223055705_1596032020894.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2403/29/c7/414842921_1711681608818.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/05/c1/255826699_1614907964297.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/569.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/58.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2111/16/c13/284308931_1637055012257.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/305.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1806/20/c26/93718921_1529478903140_200x200.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1022.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2303/30/c54/356796363_1680179458149.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/46.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2004/07/c9/201708661_1586246426817.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2306/20/c25/366335318_1687234311036.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/604.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/663.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/939.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1805/11/c17/86639855_1526021206092_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2402/19/c6/407380707_1708332130665.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2207/08/c0/322925849_1657243418524.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1803/07/c11/77190197_1520388313643_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1810/09/c36/113383332_1539076404163_200x200.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7453.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1085.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2310/12/c3/386439131_1697078982908.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2211/30/c19/343516366_1669786262793.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1011.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1160.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/844.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/17.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2104/07/c3/260168648_1617759339704.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2308/02/c43/374152890_1690960187643.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2101/12/c14/249560974_1610443908283.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/387.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/715.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2208/27/c118/330921706_1661615857487.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/908.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1912/23/c22/185562194_1577083515303.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2102/04/c10/252518752_1612414831164.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2208/15/c48/328966269_1660551690828.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1106.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2210/11/c54/337352118_1665473010146.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2002/27/c1/194627680_1582770661890.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2305/17/c17/363372505_1684314847356.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/623.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1033.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1032.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1810/31/c11/116987486_1540969542388_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2104/29/c8/263124213_1619682406605.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1911/04/c39/177135271_1572861791145.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2306/27/c31/367081062_1687858696677.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/703.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1116.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2205/25/c16/314517760_1653447955432.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c6/256348592_1615267567852.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1901/11/c5/127845230_1547178637622_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2306/01/c55/364319219_1685625452740.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2101/06/c30/248793058_1609937361778.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2109/22/c6/278468582_1632275653295.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2311/03/c41/390160007_1699021336580.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1903/06/c9/136072158_1551836939296_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c0/256317641_1615254654603.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1911/15/c18/178711029_1573810526802.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c16/256385454_1615281713647.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1904/12/c17/141751848_1555056646212.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2009/25/c0/232366107_1600995799320.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2208/27/c72/330862925_1661583853139.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2207/06/c22/322620290_1657077875739.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/580.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2005/07/c8/206873183_1588824664907.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1806/26/c19/94580029_1530003928796_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1911/27/c2/181559051_1574817794661.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c1/256325106_1615257523706.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/574.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2306/14/c32/365607092_1686724318683.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2307/05/c39/369381754_1688539268240.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2205/13/c7/312459689_1652410278062.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2010/22/c13/236482891_1603338825477.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c2/256332662_1615259435635.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2109/06/c26/276856208_1630908312251.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2104/08/c2/260314599_1617849259941.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/53.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c6/256341652_1615263379047.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1904/10/c9/141371231_1554878782822.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2002/12/c0/192312033_1581481209841.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/733.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/23.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2010/28/c59/237613676_1603877472184.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2401/24/c11/403785342_1706091836182.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1137.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2111/19/c68/284654477_1637310294593.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/980.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/546.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2312/11/c13/396317272_1702275783122.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2008/28/c63/227934240_1598621610728.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2010/29/c22/237776604_1603959022397.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c6/256340605_1615262926534.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c6/256339479_1615262335528.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2201/24/c23/293990297_1643018661894.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2205/19/c44/313593246_1652951864967.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2104/12/c12/260844886_1618210562585.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2205/16/c36/313068211_1652708686593.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/31/c12/259380407_1617177478843.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/969.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1803/07/c13/77193143_1520389207493_200x200.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1159.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1903/06/c23/136103266_1551844966459_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2002/19/c1/193424489_1582080671921.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2206/24/c0/320486783_1656035453381.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2306/14/c32/365597822_1686716566757.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2109/29/c33/279305158_1632902057281.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2107/02/c31/270232167_1625221702507.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2112/20/c7/287931573_1639984508085.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2307/26/c17/372971127_1690364638995.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c7/256355249_1615270341133.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1064.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/579.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2302/27/c21/351997384_1677471028193.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/753.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2208/01/c54/326695716_1659345141756.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c8/256357367_1615271273119.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2006/02/c7/211665897_1591078573094.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2308/02/c39/374149150_1690959052297.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2207/18/c35/324513419_1658125378465.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2404/02/c28/415548642_1712046506259.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c9/256364185_1615273435289.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2111/18/c11/284517879_1637219433362.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c8/256360588_1615272901876.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2107/12/c14/271218349_1626092790349.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2111/25/c71/285340687_1637825653617.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2104/14/c13/261116046_1618382146685.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7361.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2209/25/c42/335170317_1664120957334.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c9/256364617_1615274017590.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2403/13/c8/411209907_1710319466172.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2204/30/c17/310345999_1651302523224.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1804/20/c6/83736867_1524191166076_200x200.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7461.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2307/06/c52/369784664_1688630664715.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2212/08/c19/344387555_1670470588576.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2201/18/c50/292779934_1642498819613.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2310/08/c21/385806547_1696757894773.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1904/08/c5/140985189_1554687465114.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2306/15/c21/365709129_1686796341082.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7511.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2207/29/c7/326316470_1659062624821.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/275.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/919.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2208/22/c37/330087964_1661179104166.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7271.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/1063.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1809/17/c17/109900637_1537165224048_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1807/06/c23/96079356_1530863546478_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1910/10/c6/172568483_1570679366364.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2103/09/c9/256369129_1615275779038.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7371.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2210/14/c16/337723094_1665727440330.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2101/13/c50/249676038_1610524463780.png",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/1811/02/c16/117316330_1541140920601_200x200.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2308/11/c0/375697713_1691724201974.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/104.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/125.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2106/09/c50/267710901_1623240564677.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/929.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/506.jpg",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/866.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2002/28/c1/194788903_1582858429009.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2110/15/c1/280796220_1634264892101.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/7281.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2112/15/c49/287404174_1639549790989.png",
                "http://www1.pcauto.com.cn/images/upload/upc/tx/auto5/180206/PPlogo/325.jpg",
                "http://img.pcauto.com.cn/images/upload/upc/tx/auto5/2112/14/c9/287272316_1639449282761.png",
        };
        String[] a = {
                "奥迪", "AITO", "埃安", "阿维塔", "阿斯顿·马丁", "阿尔法·罗密欧", "爱驰", "AC-Schnitzer", "ALPINA", "安凯客车", "艾康尼克", "ALPINE", "ASPARK", "Arash", "阿尔特", "APEX", "AFEELA", "比亚迪", "奔驰", "本田", "宝马", "别克", "保时捷", "标致", "宝骏", "北京", "宾利", "奔腾", "北京汽车", "北汽制造", "北汽新能源", "北汽昌河", "布加迪", "北汽幻速", "宝沃", "北汽威旺", "博速", "北汽瑞翔", "比速汽车", "BAC", "百智新能源", "北汽雷驰", "宾尼法利纳", "北汽道达", "BYTON拜腾", "宝腾", "比德文汽车", "BOLLINGER-MOTORS", "博郡汽车", "BAO", "BeyonCa", "北京清行", "长安", "长安启源", "长安欧尚", "长城", "长安凯程", "成功", "长安跨越", "创维汽车", "曹操汽车", "橙仕", "长江EV", "Conquest", "CUPRA", "Czinger", "刺猬汽车", "昶洧", "大众", "东风风行", "东风风神", "东风", "东风风光", "东风小康", "道奇", "东南", "东风纳米", "DS", "东风奕派", "东风风度", "大运", "大力牛魔王", "电动屋", "东风富康", "大乘汽车", "大发", "大迪", "电咖", "达契亚", "东风·瑞泰特", "东风氢舟", "DEUS-Automobiles", "东风风诺", "Datsun", "Donkervoort", "丰田", "福特", "法拉利", "福田", "方程豹", "菲亚特", "飞凡汽车", "福迪", "Fisker", "Faraday-Future", "飞碟汽车", "FOXTRON", "FM-Auto", "广汽传祺", "高合汽车", "观致", "GMC", "广汽集团", "广汽吉奥", "国金汽车", "国机智骏", "光冈", "格罗夫", "国吉商用车", "GFG-Style", "GMA", "GYON", "红旗", "哈弗", "海马", "海马郑州", "昊铂", "哈飞", "华泰", "黄海", "悍马", "合创汽车", "恒驰", "汉腾", "华普", "海格", "华梓汽车", "华泰新能源", "海马新能源", "华晨新日", "恒天天马", "华颂", "恒润汽车", "汉龙汽车", "红星", "Hennessey", "华骐", "Hispano-Suiza", "iCAR", "IMSA英飒", "Isdera", "Italdesign", "INEOS", "ICONA", "吉利汽车", "捷途", "极氪", "捷达", "Jeep", "吉利银河", "江淮", "捷豹", "金杯", "江铃", "吉利几何", "江淮瑞风", "ARCFOX极狐", "捷尼赛思", "江淮钇为", "极越", "江铃集团新能源", "Polestar极星", "金龙汽车", "极石汽车", "九龙", "金旅", "君马汽车", "金杯新能源", "江南汽车", "钧天汽车", "吉祥汽车", "奇点汽车", "凯迪拉克", "开瑞", "凯翼", "克莱斯勒", "科尼赛克", "卡威汽车", "克蒂汽车", "卡升", "全球鹰", "科瑞斯的", "开沃汽车", "卡漠兹", "KTM", "KARMA", "凯马", "Karlmann", "雷克萨斯", "路虎", "领克", "理想汽车", "林肯", "零跑汽车", "铃木", "劳斯莱斯", "岚图汽车", "兰博基尼", "雷诺", "陆风", "猎豹汽车", "路特斯", "力帆", "LITE", "雷丁", "蓝电", "莲花", "凌宝汽车", "菱势汽车", "理念", "Lorinser", "陆地方舟", "拉达", "LEVC", "雷达汽车", "拉共达", "领途", "Lucid", "LOCAL-MOTORS", "灵悉", "蓝旗亚", "领志", "LeSEE", "朗世", "马自达", "MG名爵", "MINI", "玛莎拉蒂", "迈巴赫", "迈凯伦", "猛士", "摩根", "迈莎锐", "摩登汽车", "敏安汽车", "明君华凯", "Mobilize", "Micro", "哪吒汽车", "纳智捷", "nanoFLOWCELL", "Noble", "NEVS国能汽车", "欧拉", "讴歌", "欧宝", "欧朗", "欧睿", "帕加尼", "朋克汽车", "佩奇奥", "奇瑞", "起亚", "奇瑞新能源", "启辰", "乔治·巴顿", "前途", "骐铃汽车", "庆铃汽车", "清源汽车", "日产", "荣威", "睿蓝汽车", "瑞麒", "瑞驰新能源", "容大智造", "锐马克", "RIVIAN", "Rossion", "上汽大通MAXUS", "斯柯达", "深蓝汽车", "斯巴鲁", "三菱", "smart", "思皓", "双龙", "SWM斯威汽车", "双环", "SERES赛力斯", "SSC", "思铭", "萨博", "SONGSAN-MOTORS", "世极", "斯达泰克", "沙龙汽车", "赛麟", "世爵", "上喆汽车", "速达", "神州", "陕汽通家", "SONY", "STI", "特斯拉", "坦克", "腾势", "天际", "泰卡特", "塔塔", "泰克鲁斯·腾风", "Vinfast", "Vega-Innovations", "VIRITECH", "五菱", "沃尔沃", "蔚来", "魏牌", "五十铃", "威马汽车", "W-Motors", "威麟", "未奥汽车", "威兹曼", "万象汽车", "沃克斯豪尔", "瓦滋", "现代", "雪佛兰", "小米汽车", "雪铁龙", "小鹏", "星途", "SRM鑫源", "小虎", "新龙马汽车", "星驰", "小跑车", "西雅特", "享界", "新吉奥", "新特", "新凯", "英菲尼迪", "仰望", "一汽", "依维柯", "野马汽车", "一汽凌河", "驭胜", "远程汽车", "永源", "英致", "远航汽车", "云度新能源", "御捷", "云雀汽车", "延龙汽车", "野马新能源", "游侠", "裕路", "悠宝利", "智己汽车", "众泰", "智界", "中华", "中兴", "中国重汽VGV", "知豆", "中欧", "之诺", "Zenvo", "智点汽车", "正道汽车", "自游家", "中顺", "智行盒子"};
        for (int i = 0; i < brands.length; i++) {
            //截取后缀
            int i1 = brands[i].lastIndexOf('.');
            String substring = brands[i].substring(i1 + 1);
            String savePath = "E:/测试/" + a[i] + "." + substring;
            try {
                downloadPicture(brands[i], savePath);
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }

    public static void downloadPicture(String imageUrl, String savePath) throws IOException {
        URL url = new URL(imageUrl);
        HttpURLConnection connection = (HttpURLConnection) url.openConnection();
        connection.setRequestMethod("GET");
        connection.connect();

        int responseCode = connection.getResponseCode();
        if (responseCode == HttpURLConnection.HTTP_OK) {
            BufferedInputStream in = new BufferedInputStream(connection.getInputStream());
            FileOutputStream out = new FileOutputStream(new File(savePath));

            byte[] buffer = new byte[1024];
            int bytesRead;
            while ((bytesRead = in.read(buffer)) != -1) {
                out.write(buffer, 0, bytesRead);
            }

            // 下载完成，关闭输入输出流
            in.close();
            out.close();
            connection.disconnect();

            System.out.println("图片下载成功，保存路径：" + savePath);
        } else {
            System.out.println("无法下载图片，响应码：" + responseCode);
        }
    }

    /**
     * 微信登陆，获取 openid 和 session_key
     *
     * @param code 登录凭证
     * @throws IOException
     */
    @RequestMapping(value = "/onLogin")
    public AjaxResult wxLogin(String code, HttpServletRequest request) throws IOException {
        //根据传来toApplet查询appId和密钥
        MiniApp miniApp = new MiniApp();
        miniApp.setToApplet(request.getHeader("toApplet"));
        MiniApp toApplet = miniAppService.selectMiniAppList(miniApp).get(0);
        Map<String, String> data = new HashMap<String, String>();
        data.put("appid", toApplet.getAppId());
        data.put("secret", toApplet.getAppSecret());
        data.put("js_code", code);
        data.put("grant_type", "authorization_code");

        String response = HttpRequest.get("https://api.weixin.qq.com/sns/jscode2session").form(data).body();
        JSONObject obj = JSON.parseObject(response);

        String openid = obj.getString("openid");
        String session_key = obj.getString("session_key");
        System.out.println("openid = " + openid);
        System.out.println("session_key = " + session_key);
        Map map = new HashMap();
        map.put("openid", openid);
        map.put("session_key", session_key);
        return AjaxResult.success(map);
    }

    /**
     * 解密并且获取用户手机号码
     *
     * @param encrypdata
     * @param ivdata
     * @param sessionkey
     * @param request
     * @return
     * @throws Exception
     */
    @RequestMapping(value = "/deciphering", method = RequestMethod.GET)
    public AjaxResult deciphering(String encrypdata,
                                  String ivdata, String sessionkey,
                                  HttpServletRequest request) {

        byte[] encrypData = Base64.decode(encrypdata);
        byte[] ivData = Base64.decode(ivdata);
        byte[] sessionKey = Base64.decode(sessionkey);
        String str = "";
        try {
            str = decrypt(sessionKey, ivData, encrypData);
        } catch (Exception e) {
// TODO Auto-generated catch block
            e.printStackTrace();
        }
        System.out.println(str);
        return AjaxResult.success(str);

    }

    public static String decrypt(byte[] key, byte[] iv, byte[] encData) throws Exception {
        AlgorithmParameterSpec ivSpec = new IvParameterSpec(iv);
        Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
        SecretKeySpec keySpec = new SecretKeySpec(key, "AES");
        cipher.init(Cipher.DECRYPT_MODE, keySpec, ivSpec);
        //解析解密后的字符串
        return new String(cipher.doFinal(encData), "UTF-8");
    }


}